package com.kehutong.charge.entity;

import com.kehutong.charge.util.enums.ResidentsTypeEnum;
import com.kehutong.common.entity.DataEntity;
import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

import java.math.BigDecimal;

/**
 * @author joneRon
 * @Title: kht
 * @Description: 违约金管理
 * @date 2021/7/27
 */
@Table(value="t_charge_penalty_manage", comment="违约金管理",multi = true, idType = IDType.TIMESTAMP, engine = "innodb")
public class ChargePenaltyManage extends DataEntity {

    protected ChargePenaltyManage(String id) {
        super(id);
    }

    @Column(comment="居住类型")
    private ResidentsTypeEnum reType;

    @Column(comment = "业主编号")
    private String ownerNo;

    @Column(comment="违约用户名")
    private String userName;

    @Column(comment="小区编号")
    private String communityNo;

    @Column(comment="房屋编号")
    private String houseNo;

    @Column(comment="账单地址")
    private String chargeAddress;

    @Column(comment="违约总金额")
    private BigDecimal amountTotal;

    @Column(comment="违约总笔数")
    private int penaltyNum;

    @JSONField(serialize = false)
    @Column(comment = "逻辑删除")
    private boolean deleted;

    @Column(comment = "创建人")
    private String createName;

    @Column(comment = "修改人")
    private String updateName;

    public ResidentsTypeEnum getReType() {
        return reType;
    }

    public void setReType(ResidentsTypeEnum reType) {
        this.reType = reType;
    }

    public String getOwnerNo() {
        return ownerNo;
    }

    public void setOwnerNo(String ownerNo) {
        this.ownerNo = ownerNo;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCommunityNo() {
        return communityNo;
    }

    public void setCommunityNo(String communityNo) {
        this.communityNo = communityNo;
    }

    public String getHouseNo() {
        return houseNo;
    }

    public void setHouseNo(String houseNo) {
        this.houseNo = houseNo;
    }

    public String getChargeAddress() {
        return chargeAddress;
    }

    public void setChargeAddress(String chargeAddress) {
        this.chargeAddress = chargeAddress;
    }

    public BigDecimal getAmountTotal() {
        return amountTotal;
    }

    public void setAmountTotal(BigDecimal amountTotal) {
        this.amountTotal = amountTotal;
    }

    public int getPenaltyNum() {
        return penaltyNum;
    }

    public void setPenaltyNum(int penaltyNum) {
        this.penaltyNum = penaltyNum;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }
}
